import {SearchBo} from "@/common/BasicDto.ts";
import {Column} from "@/common/Column.ts";

export class Story extends SearchBo{
    public id?:number
    public img?:string
    public title?:string
    public name?:string
    public date?:Date
    public context?:string
    public text?:string;

    public static getColumn(){
        return [
            new Column("图片","img"),
            new Column("标题","title"),
            new Column("用户名称","name"),
            new Column("时间","date"),
            new Column("文字","text"),
        ] as Array<Column>
    }
}